var t = getApp();

Page({
    data: {
        goodList: []
    },
    onLoad: function(t) {
        this.getData();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getData: function() {
        var o = this, n = t.getNetAddresss("member.member.shareinfo");
        t._getNetWork({
            url: n,
            success: function(t) {
                var n = t.data;
                if (1 == n.result) {
                    var e;
                    e = n.data.become_goods.map(function(t) {
                        var o = {};
                        return o.goods_id = t.id, o.thumb = t.thumb, o.title = t.title, o;
                    }), o.setData({
                        goodList: e
                    });
                }
            },
            fail: function(t) {
                console.log(t.msg);
            }
        });
    }
});